import wx.xrc
from wx import xrc
import os

def Load(self, resourcepath):
	if os.path.exists(resourcepath):
		self.original_Load(resourcepath)
	else:
		self.original_Load("xrc/"+resourcepath)

wx.xrc.XmlResource.original_Load = wx.xrc.XmlResource.Load
wx.xrc.XmlResource.Load = Load
